﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using JinfuyuanProject.Filters;

namespace JinfuyuanProject.App_Start
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            //把登录拦截器注册到了全局
             filters.Add(new LoginFilter());
        }
    }
}